package br.com.megarobot.robo;

import br.com.megarobot.lotofacil.base.LotofacilDB;
import br.com.megarobot.lotofacil.bean.LotoFacil;
import br.com.megarobot.mega.base.MegaDB;
import br.com.megarobot.mega.bean.Mega;

public class RoboCommands {
	public static boolean atualizaFacil(){
		boolean retorno = true;
		LotofacilDB db = new LotofacilDB();
		LotoFacil vo = new LotoFacil(483 ,"30/11/09",1 ,4 ,5 ,6 ,7 ,9 ,11 ,12 ,14 ,17 ,18 ,21 ,22 ,23 ,24 ,false);
		db.insereLotoFacil(vo);
		return retorno;
	}
	
	public static boolean atualizaMega(){
		boolean retorno = true;
		MegaDB db = new MegaDB();
		Mega vo = new Mega(1131,"02/12/09",1,8,16,34,36,49,true);
		db.insereMega(vo);
		return retorno;
	}
}
